package com.shensi.adminCollect.domain.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@ApiModel("响应信息")
public class ResponseVo<T> {

    /**
     * 数据
     */
    @ApiModelProperty("数据")
    private T list;

    /**
     * 数据行数
     */
    @ApiModelProperty("数据行数")
    private Long total;

    public ResponseVo() {

    }

    public ResponseVo(T list, Long total) {
        this.list = list;
        this.total = total;
    }
}
